package com.example.demo.mapper;

import com.example.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    User login(User user);
    int insert(User user);
    List<User> selectUserList(User user);
    User seUserById(int id);
    int updateUser(User user);
    int deleteById(int id);
}
